package com.junzhiit.nengji.shop.bo;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.bainaeco.framework.base.BaseObject;
import com.bainaeco.framework.util.DateUtil;
import com.bainaeco.framework.util.serializer.CustomDateSerializerHMS;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

public class ShopLocatedBO extends BaseObject {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	//入住信息ID
	private String id;
	
	//订单号
	private String number;
	//用户名称
	private String userName;
	//用户ID
	private String userId;
	//店铺名称
	private String shopName;
	//店铺ID
	private String shopId;
	//推荐用户名称
	private String recommendUserName;
	//推荐用户ID
	private String userCode;
	//套餐名称
	private String setMealName;
	//套餐名称
	private String setMealId;
	//支付金额
	private Double payMoney;
	//支付方式
	private int payWay;
	//状态信息
	private int registStatus;
	//电话
	private String mobilePhone;
	//创建时间
	@DateTimeFormat(pattern = DateUtil.DATETIME_PATTERN_DEFAULT)
	@JsonSerialize(using = CustomDateSerializerHMS.class)
	private Date createdTime;
	
	//是否开启免费入驻套餐(0:NO,1:YES)
	private Integer isOpenFree;
	
	private String transactionNumber;
	
	private Integer isPay;
	
	@DateTimeFormat(pattern = DateUtil.DATETIME_PATTERN_DEFAULT)
	@JsonSerialize(using = CustomDateSerializerHMS.class)
	private Date payTime;
	
	public String getMobilePhone() {
		return mobilePhone;
	}

	public void setMobilePhone(String mobilePhone) {
		this.mobilePhone = mobilePhone;
	}

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getRecommendUserName() {
		return recommendUserName;
	}

	public void setRecommendUserName(String recommendUserName) {
		this.recommendUserName = recommendUserName;
	}

	public String getSetMealName() {
		return setMealName;
	}

	public void setSetMealName(String setMealName) {
		this.setMealName = setMealName;
	}

	public Double getPayMoney() {
		return payMoney;
	}

	public void setPayMoney(Double payMoney) {
		this.payMoney = payMoney;
	}

	public int getPayWay() {
		return payWay;
	}

	public void setPayWay(int payWay) {
		this.payWay = payWay;
	}

	public int getRegistStatus() {
		return registStatus;
	}

	public void setRegistStatus(int registStatus) {
		this.registStatus = registStatus;
	}

	public String getShopName() {
		return shopName;
	}

	public void setShopName(String shopName) {
		this.shopName = shopName;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getShopId() {
		return shopId;
	}

	public void setShopId(String shopId) {
		this.shopId = shopId;
	}

	public String getUserCode() {
		return userCode;
	}

	public void setUserCode(String userCode) {
		this.userCode = userCode;
	}

	public String getSetMealId() {
		return setMealId;
	}

	public void setSetMealId(String setMealId) {
		this.setMealId = setMealId;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Date getCreatedTime() {
		return createdTime;
	}

	public void setCreatedTime(Date createdTime) {
		this.createdTime = createdTime;
	}

	public Integer getIsOpenFree() {
		return isOpenFree;
	}

	public void setIsOpenFree(Integer isOpenFree) {
		this.isOpenFree = isOpenFree;
	}

	public String getTransactionNumber() {
		return transactionNumber;
	}

	public void setTransactionNumber(String transactionNumber) {
		this.transactionNumber = transactionNumber;
	}

	public Integer getIsPay() {
		return isPay;
	}

	public void setIsPay(Integer isPay) {
		this.isPay = isPay;
	}

	public Date getPayTime() {
		return payTime;
	}

	public void setPayTime(Date payTime) {
		this.payTime = payTime;
	}
}
